ResourceTiming

data class ResourceTiming(requestTime: Double, proxyStart: Double, proxyEnd: Double, dnsStart: Double, dnsEnd: Double, connectStart: Double, connectEnd: Double, sslStart: Double, sslEnd: Double, workerStart: Double, workerReady: Double, workerFetchStart: Double, workerRespondWithSettled: Double, sendStart: Double, sendEnd: Double, pushStart: Double, pushEnd: Double, receiveHeadersEnd: Double)

Timing information for the request.

Constructors

ResourceTiming
Link copied to clipboard
fun ResourceTiming(requestTime: Double, proxyStart: Double, proxyEnd: Double, dnsStart: Double, dnsEnd: Double, connectStart: Double, connectEnd: Double, sslStart: Double, sslEnd: Double, workerStart: Double, workerReady: Double, workerFetchStart: Double, workerRespondWithSettled: Double, sendStart: Double, sendEnd: Double, pushStart: Double, pushEnd: Double, receiveHeadersEnd: Double)

Properties

connectEnd
Link copied to clipboard
val connectEnd: Double
Connected to the remote host.
connectStart
Link copied to clipboard
val connectStart: Double
Started connecting to the remote host.
dnsEnd
Link copied to clipboard
val dnsEnd: Double
Finished DNS address resolve.
dnsStart
Link copied to clipboard
val dnsStart: Double
Started DNS address resolve.
proxyEnd
Link copied to clipboard
val proxyEnd: Double
Finished resolving proxy.
proxyStart
Link copied to clipboard
val proxyStart: Double
Started resolving proxy.
pushEnd
Link copied to clipboard
val pushEnd: Double
Time the server finished pushing request.
pushStart
Link copied to clipboard
val pushStart: Double
Time the server started pushing request.
receiveHeadersEnd
Link copied to clipboard
val receiveHeadersEnd: Double
Finished receiving response headers.
requestTime
Link copied to clipboard
val requestTime: Double
Timing's requestTime is a baseline in seconds, while the other numbers are ticks in milliseconds relatively to this requestTime.
sendEnd
Link copied to clipboard
val sendEnd: Double
Finished sending request.
sendStart
Link copied to clipboard
val sendStart: Double
Started sending request.
sslEnd
Link copied to clipboard
val sslEnd: Double
Finished SSL handshake.
sslStart
Link copied to clipboard
val sslStart: Double
Started SSL handshake.
workerFetchStart
Link copied to clipboard
val workerFetchStart: Double
Started fetch event.
workerReady
Link copied to clipboard
val workerReady: Double
Finished Starting ServiceWorker.
workerRespondWithSettled
Link copied to clipboard
val workerRespondWithSettled: Double
Settled fetch event respondWith promise.
workerStart
Link copied to clipboard
val workerStart: Double
Started running ServiceWorker.

Sources

jvm source
Link copied to clipboard